package com.lpit.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lpit.pojo.Comment;
import com.lpit.service.CommentService;
import com.lpit.mapper.CommentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Administrator
 * @description 针对表【comment(评论表)】的数据库操作Service实现
 * @createDate 2023-06-08 11:06:01
 */
@Service
public class CommentServiceImpl extends ServiceImpl<CommentMapper, Comment>
        implements CommentService{
    @Autowired
    CommentMapper commentMapper;
    @Override
    public Integer commentByIdNumber(Integer id) {
        return commentMapper.commentByIdNumber(id);
    }
}




